#include "roundsmenu.h"
#include "gameoption.h"
#include "playermenu.h"

RoundsMenu::RoundsMenu(Menu *next)
    : OptionMenu("rounds",false,next)
{
    addOption(QImage("images/player_anarki.png"),GameOption(1,"1"));
    addOption(QImage("images/player_anarki.png"),GameOption(2,"2"));
    addOption(QImage("images/player_anarki.png"),GameOption(4,"4"));
    addOption(QImage("images/player_anarki.png"),GameOption(8,"8"));
    addOption(QImage("images/player_anarki.png"),GameOption(16,"16"));
    addOption(QImage("images/player_anarki.png"),GameOption(32,"32"));
}

void RoundsMenu::accept()
{
   OptionMenu::accept();
   emit activate(new PlayerMenu());
}
